/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.muni.fi.diplomka.datalayer.dao;

import cz.muni.fi.diplomka.datalayer.entity.AllianceMemberEntity;
import java.util.List;

/**
 * Interface for manipulation with Alliance Member Entity
 *
 * @author Jakub Kutil
 */
public interface AllianceMemberDao {

    /**
     * Adds Player to Alliance
     *
     * @param allianceMemberEntity Alliance Member to add
     */
    public void addAllianceMember(AllianceMemberEntity allianceMemberEntity);

    /**
     * Removes Player from Alliance
     *
     * @param allianceMemberId ID of Alliance Member to remove
     */
    public void deleteAllianceMember(Long allianceMemberId);

    /**
     * Gets all members of specified Alliance
     *
     * @param allianceId ID of Alliance
     *
     * @return List with all Members of Alliance
     */
    public List<AllianceMemberEntity> getAllAllianceMembers(Long allianceId);
}
